home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
DEF
/
Compile
/
play-file-p
< prev
Wrap
Text File
|
1998-10-23
|
890b
|
46 lines
play-file-p filename instrument sections &rest instruments sections
Plays instruments in sections to a file in the output folder and opens MidiShare Player.
(def-orchestra 'orchestra
all-instruments (piano synth)
piano (left-hand right-hand)
)
(def-grammar 'song
all-sections (intro middle ending)
intro (a b)
middle (am bm cm bm)
ending (ae be)
)
(midiport :printer) ; or (midiport :modem)
(play-file-p "my song"
all-instruments '(all-sections)
)
You can call it directly with individual sections. Let's say you have a section a defined.
(def-section sect-a
default
zone '(1/1 1/1)
tonality (activate-tonality (major c 4))
length '(1/16)
velocity '(64)
piano
symbol '(a b c)
synths
symbol '(-b -c -d)
)
(midiport :printer) ; or (midiport :modem)
(play-file-p "my song"
piano '(sect-a)
synths '(sect-a)
)